package chapter5.additional;

enum SimpleSeason { SPRING, SUMMER, FALL, WINTER }

public class SimpleEnum {
    public static void main(String[] args) {
        SimpleSeason current = SimpleSeason.WINTER;

        switch(current) {
            case SPRING: System.out.println("春天的花"); break;
            case SUMMER: System.out.println("夏天的太阳"); break;
            case FALL: System.out.println("秋天的落叶"); break;
            case WINTER: System.out.println("冬天的雪"); break;
        }
    }
}